﻿#region 信息
// Copyright©2014 Rex Rao all rights reserved.
// File name : Mojito\Mojito.Entity\Order.cs
// Author : Sohobloo
// Create time : 2014/08/28 14:05
// Update time : 2014/08/28 14:05
#endregion

using System;
using System.Collections.Generic;
using Sohobloo.SoMcCoffee.Entity;

namespace Mojito.Entity
{
    public class Order : EntityBase
    {
        public string OrderNumber { get; set; }

        public string ObfuscatedOrderNumber { get; set; }

        public DateTime OrderTime { get; set; }

        public DateTime PeriodDate { get; set; }

        public Guid? TableId { get; set; }

        public int GuestNumber { get; set; }

        public double MinConsumptionAmount { get; set; }

        public double AccountReceivable { get; set; }

        public double AccountRecieved { get; set; }

        public string Notes { get; set; }

        public OrderStatus OrderStatus { get; set; }

        public virtual Table Table { get; set; }

        public virtual ICollection<OrderDish> Dishes { get; set; } 
    }
}